home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / pbmplus / pgm / pgmnorm.man < prev    next >
Text File  |  1995-03-17  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      pgmnorm(1)          AMIGA (28 February 1989)           pgmnorm(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pgmnorm - normalize the contrast in a portable graymap
  10.  
  11.      SYNOPSIS
  12.           pgmnorm [-bpercent N | -bvalue N] [-wpercent N | -wvalue N]
  13.           [pgmfile]
  14.  
  15.      DESCRIPTION
  16.           Reads a portable graymap as input.  Normalizes the contrast
  17.           by forcing the lightest pixels to white, the darkest pixels
  18.           to black, and linearly rescaling the ones in between; and
  19.           produces a portable graymap as output.
  20.  
  21.      OPTIONS
  22.           By default, the darkest 2 percent of all pixels are mapped
  23.           to black, and the lightest 1 percent are mapped to white.
  24.           You can override these percentages by using the -bpercent
  25.           and -wpercent flags, or you can specify the exact pixel
  26.           values to be mapped by using the -bvalue and -wvalue flags.
  27.           Appropriate numbers for the flags can be gotten from the
  28.           pgmhist tool.  If you just want to enhance the contrast,
  29.           then choose values at elbows in the histogram; e.g. if value
  30.           29 represents 3% of the image but value 30 represents 20%,
  31.           choose 30 for bvalue.  If you want to lighten the image,
  32.           then set bvalue to 0 and just fiddle with wvalue; similarly,
  33.           to darken the image, set wvalue to maxval and play with
  34.           bvalue.
  35.  
  36.           All flags can be abbreviated to their shortest unique
  37.           prefix.
  38.  
  39.      SEE ALSO
  40.           pgmhist(1), pgm(5)
  41.  
  42.      AUTHOR
  43.           Partially based on the fbnorm filter in Michael Mauldin's
  44.           "Fuzzy Pixmap" package.
  45.  
  46.           Copyright (C) 1989 by Jef Poskanzer.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.